home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 June / Macworld (1998-06).dmg / Shareware World / Utilities / Video / MVEMVC / MyVidEditor 2.1 / Scripts Folder / Add 2 different movies script next >
Text File  |  1998-02-01  |  796b  |  15 lines

  1. tell application "MyVidEditor©"
  2.     activate
  3.     if Extract track AIFF from movie file "Macintosh HD:NoxAN movie" to movie file "Macintosh HD:temp audio" Compress AIFF yes then
  4.         if Add track video from movie file "Macintosh HD:NoxAN movie" with movie file "Macintosh HD:temp audio" to movie file "Macintosh HD:temp merged" then
  5.             -- this adds the audio from other movie to our temp video movie and saves it in temp merged
  6.             if Flatten movie file "Macintosh HD:temp merged" to movie file "Macintosh HD:result flattened" then
  7.                 tell application "Finder"
  8.                     --have the finder clean up our temp files. This is optional so delete it if you want to keep them around
  9.                     delete file "Macintosh HD:temp audio"
  10.                     delete file "Macintosh HD:temp merged"
  11.                 end tell
  12.             end if
  13.         end if
  14.     end if
  15. end tell